﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Register.aspx.cs" Inherits="Register" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    </div>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
        <Scripts>
            <asp:ScriptReference Path="~/Scripts/display.js" />
        </Scripts>
        <Services>
            <asp:ServiceReference Path="~/UserService.asmx" />
        </Services>
    </asp:ScriptManager>
    <asp:TextBox ID="userNameText" runat="server"></asp:TextBox>
    <input type="button" onclick="SendRequest(document.getElementById('<%= userNameText.ClientID %>').value)" value="Register"/>
    <input type="button" onclick="alert('Test')" value="Register"/>
    </form>
</body>
</html>
